/**
 * 
 */
package com.uva.dbcs.gestionDeVehiculos.persistencia.impl;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import com.uva.dbcs.gestionDeVehiculos.dominio.Carnet;
import com.uva.dbcs.gestionDeVehiculos.persistencia.CarnetDAO;
import com.uva.dbcs.utilidades.persistencia.GenericAbstractDAO;

/**
 * @author seten
 *
 */
@Stateless
public class CarnetDAOImpl extends GenericAbstractDAO<Carnet, Integer> implements CarnetDAO {

	@PersistenceContext
	private EntityManager entityManager;

	
	public CarnetDAOImpl() {
		super(Carnet.class);
	}

	@Override
	public EntityManager getEntityManager() {
		return entityManager;
	}


}
